thin.define(function(exports) {
	exports('effect', function() {
		var el = document.getElementById('loadeffect');
		if(el.style.opacity === "") {
			el.style.opacity = 1;
		}
		if(el.style.display === "" || el.style.display === 'none') {
			el.style.display = 'block';
		}
		var t = setInterval(function() {
			if(el.style.opacity > 0) {
				el.style.opacity = parseFloat(el.style.opacity) - 0.1;
			} else {
				clearInterval(t);
				el.style.display = 'none';
			}
		}, 80);
	});
});